package com.sunny.excel.excel.uploader;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

public interface ExcelUploader {

    default int getOrder() {
        return 0;
    }

    boolean canProcess(Class<?> dataClass);

    <T> List<T> process(InputStream inputStream, int sheetIndex, Class<T> dataClass, String fileExt,
        String... contextParam) throws IOException;

}
